package com.qf.day06;

public class Demo01 {
    public static void main(String[] args) {
        User user = new User();
//        user.name = "王兴硕";
//        user.age = 45;


        user.setName("王兴硕666");
        user.setAge(45);
//        System.out.println(user);
        System.out.println("姓名："+user.getName()+"，"+"年龄："+user.getAge());
    }

}
